pyinstaller --onefile \
--name "eagle_eyes" \
--windowed \
--add-data="favorite_stocks.json:." \
--add-data="app_settings.json:." \
--add-data="marked_stocks.json:." \
--add-data="/home/l/.myenv/lib/python3.12/site-packages/akshare/file_fold/calendar.json:akshare/file_fold" \
--hidden-import="pandas._libs.tslibs.np_datetime" \
--hidden-import="PIL.Image" \
--hidden-import="PIL.ImageTk" \
--hidden-import="PIL._tkinter_finder" \
eagle_eyes.py

